<?php

class Controller{
	
	function __construct(){
		$this->view = new View;
	}
	
	public function loadModel($name){
		$nameModel = $name.'_Model';
		$pathModel = MODEL.$nameModel.'.php';
		if(file_exists($pathModel)){
			require $pathModel;
			$this->model = new $nameModel;	
		}
	}
}		

?>